package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.Order;
import com.sun.org.apache.xpath.internal.operations.Or;

import java.util.Date;

public interface OrderService {
    void saveOrder(Order order);

    Page<Order> findByPage(Integer pageNum, Integer pageSize, String number, Date beginTime, Date endTime);

    Page<Order> findHistoryOrders(Integer pageNum, Integer pageSize);
}
